package com.ctshk.rpc.localfun.req;

import com.ctshk.common.model.PageReq;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @Description
 * @Author wansi <gaylen15527491065@yeah.net>
 * @Date 2021/3/24
 */
@Data
@ApiModel(value="LocalFunProductListReq对象",description="根据查询条件查询产品")
public class LocalFunProductListReq extends PageReq implements Serializable {


    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "产品名称")
    private String name;

    @ApiModelProperty(value = "所属城市ID",required = false)
    private Long cityId;

    @ApiModelProperty(value = "城市名称")
    private String cityName;

    @ApiModelProperty(value = "产品类型",required = false)
    private Long funType;

    @ApiModelProperty(value = "产品类型名称",required = false)
    private String funName;

    @ApiModelProperty(value = "是否推荐, 0:否,1:是",required = false)
    private Integer isRecommend;

    @ApiModelProperty(value = "产品来源(1 API ,2 手动录入)",required = true)
    private Integer sourceType;

    @ApiModelProperty(value = "供应商ID",required = false,example="长隆")
    private Long supplierId;

    @ApiModelProperty(value = "供应商名称")
    private String supplierName;

    @ApiModelProperty(value = "上架状态(0 未上架,1 已上架,null 全部)",required = true,example = "1")
    private Integer status;

    @ApiModelProperty(value = "区分列表类型(1或者空 是资源中心,2是预订中心)",required = false)
    private String type;
}
